Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 11, 2022

This PR contains the following updates:

Package Change Age Confidence
com.google.code.gson:gson 2.8.9 -> 2.13.1 age confidence

Release Notes

google/gson (com.google.code.gson:gson)

v2.10

  • Support for serializing and deserializing Java records, on Java ≥ 16. (#​2201)
  • Add JsonArray.asList and JsonObject.asMap view methods (#​2225)
  • Fix TypeAdapterRuntimeTypeWrapper not detecting reflective TreeTypeAdapter and FutureTypeAdapter (#​1787)
  • Improve JsonReader.skipValue() (#​2062)
  • Perform numeric conversion for primitive numeric type adapters (#​2158)
  • Add Gson.fromJson(..., TypeToken) overloads (#​1700)
  • Fix changes to GsonBuilder affecting existing Gson instances (#​1815)
  • Make JsonElement conversion methods more consistent and fix javadoc (#​2178)
  • Throw UnsupportedOperationException when JsonWriter.jsonValue is not supported (#​1651)
  • Disallow JsonObject Entry.setValue(null) (#​2167)
  • Fix TypeAdapter.toJson throwing AssertionError for custom IOException (#​2172)
  • Convert null to JsonNull for JsonArray.set (#​2170)
  • Fixed nullSafe usage. (#​1555)
  • Validate TypeToken.getParameterized arguments (#​2166)
  • Fix #​1702: Gson.toJson creates CharSequence which does not implement toString (#​1703)
  • Prefer existing adapter for concurrent Gson.getAdapter calls (#​2153)
  • Improve ArrayTypeAdapter for Object[] (#​1716)
  • Improve AppendableWriter performance (#​1706)

v2.9.1

  • Make Object and JsonElement deserialization iterative rather than
    recursive (#​1912)
  • Added parsing support for enum that has overridden toString() method (#​1950)
  • Removed support for building Gson with Gradle (#​2081)
  • Removed obsolete codegen hierarchy (#​2099)
  • Add support for reflection access filter (#​1905)
  • Improve TypeToken creation validation (#​2072)
  • Add explicit support for float in JsonWriter (#​2130, #​2132)
  • Fail when parsing invalid local date (#​2134)

Also many small improvements to javadoc.

v2.9.0

The minimum supported Java version changes from 6 to 7.

  • Change target Java version to 7 (#​2043)
  • Put module-info.class into Multi-Release JAR folder (#​2013)
  • Improve error message when abstract class cannot be constructed (#​1814)
  • Support EnumMap deserialization (#​2071)
  • Add LazilyParsedNumber default adapter (#​2060)
  • Fix JsonReader.hasNext() returning true at end of document (#​2061)
  • Remove Gradle build support. Build script was outdated and not actively
    maintained anymore (#​2063)
  • Add GsonBuilder.disableJdkUnsafe() (#​1904)
  • Add UPPER_CASE_WITH_UNDERSCORES in FieldNamingPolicy (#​2024)
  • Fix failing to serialize Collection or Map with inaccessible constructor (#​1902)
  • Improve TreeTypeAdapter thread-safety (#​1976)
  • Fix Gson.newJsonWriter ignoring lenient and HTML-safe setting (#​1989)
  • Delete unused LinkedHashTreeMap (#​1992)
  • Make default adapters stricter; improve exception messages (#​2000)
  • Fix FieldNamingPolicy.upperCaseFirstLetter uppercasing non-letter (#​2004)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from bf05153 to 66dd60f Compare September 25, 2022 22:40
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.9.0 Update dependency com.google.code.gson:gson to v2.9.1 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from 66dd60f to b31dde7 Compare November 20, 2022 12:09
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.9.1 Update dependency com.google.code.gson:gson to v2.10 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from b31dde7 to 724d4ab Compare March 16, 2023 12:09
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.10 Update dependency com.google.code.gson:gson to v2.10.1 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from 724d4ab to 3ec488b Compare May 19, 2024 20:14
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.10.1 Update dependency com.google.code.gson:gson to v2.11.0 May 19, 2024
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.11.0 Update dependency com.google.code.gson:gson to v2.12.0 Jan 29, 2025
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch 2 times, most recently from 55a6d37 to 564c346 Compare January 31, 2025 00:49
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.12.0 Update dependency com.google.code.gson:gson to v2.12.1 Jan 31, 2025
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from 564c346 to 4c83e9f Compare March 3, 2025 15:24
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from 4c83e9f to df927e8 Compare April 11, 2025 16:46
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.12.1 Update dependency com.google.code.gson:gson to v2.13.0 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from df927e8 to f8295de Compare April 24, 2025 03:35
@renovate renovate bot changed the title Update dependency com.google.code.gson:gson to v2.13.0 Update dependency com.google.code.gson:gson to v2.13.1 Apr 24, 2025
@renovate renovate bot force-pushed the renovate/com.google.code.gson-gson-2.x branch from f8295de to 1286deb Compare August 10, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants